package tr.edu.yildiz.ce.app_manager.service.impl;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import tr.edu.yildiz.ce.app_manager.dao.BasicDao;
import tr.edu.yildiz.ce.app_manager.dao.ProxyDao;
import tr.edu.yildiz.ce.app_manager.model.AppProxy;
import tr.edu.yildiz.ce.app_manager.service.AppProxyService;

@Service
@Transactional
public class AppProxyServiceImpl extends BasicServiceImpl<AppProxy, Long> implements AppProxyService {

	@Autowired
	public AppProxyServiceImpl(ProxyDao proxyDao) {
		super(proxyDao);
	}

	@Override
	public AppProxy findByUsernameAndPassword(String username, String password) {
		return ((ProxyDao)getDao()).findByUsernameAndPassword(username, password);
	}
	
	
}
